﻿#region Copyright and License
/*==============================================================================
 *  Copyright (c) cndotnet.org Corporation.  All rights reserved.
 * ===============================================================================
 * This code and information is provided "as is" without warranty of any kind,
 * either expressed or implied, including but not limited to the implied warranties
 * of merchantability and fitness for a particular purpose.
 * ===============================================================================
 * Licensed under the GNU General Public License (GPL) v2
 * http://www.cndotnet.org/ezsocio
 * ==============================================================================*/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Configuration;
using CNdotnet.Ezsocio.DependenceInjection.Unity;

namespace CNdotnet.Ezsocio.DependenceInjection
{
    /// <summary>
    /// The static factory of container
    /// </summary>
    public sealed class ContainerManager
    {
        /// <summary>
        /// Creates the specified container instance .
        /// </summary>
        /// <param name="containerName">Name of the container.</param>
        /// <returns></returns>
        public static IContainerContext GetContainer(string containerName)
        {
            return new UnityContainerContext(containerName);
        }
    }
}
